package 设计模式.创建型模式.原型模式;

/**
 * @author MT
 * @date 2019-11-13 16:49
 */
public class Realizetype implements Cloneable {
    Realizetype() {
        System.out.println("具体原型创建成功");
    }

    public Object clone() throws CloneNotSupportedException {
        System.out.println("具体原型复制成功");
        return (Realizetype) super.clone();
    }



}
